package showcase

import (
	"github.com/templui/templui/internal/components/label"
	"github.com/templui/templui/internal/components/textarea"
)

templ TextareaWithLabel() {
	<div class="space-y-2 w-full max-w-md">
		@label.Label(label.Props{
			For: "textarea-with-label",
		}) {
			Your Message
		}
		@textarea.Textarea(textarea.Props{
			ID:          "textarea-with-label",
			Placeholder: "Type your message here...",
			Rows:        4,
		})
	</div>
}
